C Static Variables and Static Functions Explained with Examples